<module>	
  <module>  
		<link-set appearance="tab">
		  <inline-trigger>
		    <label>Info</label>
		  </inline-trigger>
		  <inline-trigger>
		    <label>Map</label>
	      <load-page event="activate" page="<?php print $item_map_url;?>" />
		  </inline-trigger>
		</link-set>  
    
		<placard layout="card">
		  <layout-items>
		    <image size="large" resource="ok-modern.png" fill-style="fill"/>
		    <block class="title"><?php print $title;?></block>
		    <block><?php print $landmark;?></block>
		    <block class="subdued"><?php print $city_state_country;?></block>
		  </layout-items>
		</placard>
		
    <placard layout="template">
      <template-items format="title-value">
        <template-item field="title">
          <block><?php print $tags;?></block>
        </template-item>
        <template-item field="value">
          <block><rating><stars><?php print $rating_stars;?></stars></rating></block>
        </template-item>
      </template-items>
    </placard>
    
    <?php if($wifi):?>
    <module>
      <header>
        <layout-items>
          <block class="title">Internet access</block>
        </layout-items>
      </header>
	    <placard layout="template">
	      <template-items format="title-value">
	        <template-item field="title">
	          <block class="small">WiFi</block>
	        </template-item>
	        <template-item field="value">
	          <block class="small"><?php print $wifi;?></block>
	        </template-item>
	      </template-items>
	    </placard>
	    <?php if ($wifi_ssid):?>
	    <placard layout="template">
	      <template-items format="title-value">
	        <template-item field="title">
	          <block class="small">SSID</block>
	        </template-item>
	        <template-item field="value">
	          <block class="small"><?php print $wifi_ssid;?></block>
	        </template-item>
	      </template-items>
	    </placard>
	    <?php endif;?>
	    <?php if($wifi_key):?>
	    <placard layout="template">
	      <template-items format="title-value">
	        <template-item field="title">
	          <block class="small">Key</block>
	        </template-item>
	        <template-item field="value">
	          <block class="small"><?php print $wifi_key;?></block>
	        </template-item>
	      </template-items>
	    </placard>
	    <?php endif;?>
    </module>
    <?php endif;?>
    
    <?php if($amenities):?>
    <module>
      <header>
        <layout-items>
          <block class="title">What's available</block>
        </layout-items>
      </header>
	    <placard layout="simple">
	      <layout-items>
	        <block class="small"><?php print $amenities;?></block>
	      </layout-items>
	    </placard>
    </module>
    <?php endif;?>    
    
    <module>
      <header>
        <layout-items>
          <block class="title">Reviews</block>
        </layout-items>
      </header>   
      <?php if ($okblog_url):?>
      <placard layout="simple" class="link">
        <layout-items>
          <block class="link">Read the official OK! review</block>
        </layout-items>
        <load event="activate" resource="<?php print $okblog_url;?>" />
      </placard>
      <?php endif;?>
      <placard layout="simple" class="link">
        <layout-items>
          <block class="link">Submit your OK! review</block>
        </layout-items>
        <load event="activate" resource="http://blog.officekami.com/submit-your-ok/" />
      </placard>
    </module>    
	</module>
</module>